package com.situ.crm.rbac.service;

import com.situ.crm.bean.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Gao
 * @since 2022-11-10
 */
public interface IUserService extends IService<User> {

    void updateStatus(Long id, Integer status);

    User selectByName(String username);

    Map<String, Object> getUserPermissionInfo(String username);
}
